From: Richard M. Stallman Date: Sun, 26 Dec 1993 09:10:10 +0000 (+0000) Subject: (A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Defined. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~93697 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b04101bbbd6f796957dac87b84659a9a5f8d5a54;p=emacs.git (A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Defined. --- diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index b27b4f025f6..3b06c712fc0 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h @@ -226,3 +226,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif #define HAVE_SYSVIPC + +#define A_TEXT_OFFSET(hdr) (N_MAGIC(hdr) == QMAGIC ? sizeof (struct exec) : 0) +#define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) +#define ADJUST_EXEC_HEADER \ + unexec_text_start = N_TXTADDR(ohdr) + A_TEXT_OFFSET(ohdr)